package com.backstage.dao;

import com.backstage.pojo.Report;
import org.apache.ibatis.annotations.Select;

public interface ReportMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Report record);

    int insertSelective(Report record);

    Report selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Report record);

    int updateByPrimaryKey(Report record);

    @Select("select count(*) from report_table")
    int selectReportTotal();
}